package com.epoint.springsecuritylearning.frameuser.entity;

import com.baomidou.mybatisplus.annotation.Version;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 
 * </p>
 *
 * @author 纪宽豪
 * @since 2021-08-31
 */
public class FrameUser implements Serializable {

    private static final long serialVersionUID = 1L;

      private String rowguid;

    private String username;

    private String password;

    private String displayname;

    @TableField(fill = FieldFill.INSERT)
    private Date createdate;
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date updatedate;

    @Version
    private Integer version;


    public String getRowguid() {
        return rowguid;
    }

    public void setRowguid(String rowguid) {
        this.rowguid = rowguid;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getDisplayname() {
        return displayname;
    }

    public void setDisplayname(String displayname) {
        this.displayname = displayname;
    }

    public Date getCreatedate() {
        return createdate;
    }

    public void setCreatedate(Date createdate) {
        this.createdate = createdate;
    }

    public Date getUpdatedate() {
        return updatedate;
    }

    public void setUpdatedate(Date updatedate) {
        this.updatedate = updatedate;
    }

    public Integer getVersion() {
        return version;
    }

    public void setVersion(Integer version) {
        this.version = version;
    }

    @Override
    public String toString() {
        return "FrameUser{" +
        "rowguid=" + rowguid +
        ", username=" + username +
        ", password=" + password +
        ", displayname=" + displayname +
        ", createdate=" + createdate +
        ", updatedate=" + updatedate +
        ", version=" + version +
        "}";
    }
}
